I have a simple c file parsed by ctagssidekick:
int a;
main () {}
SideKick options:
no checkbox, auto expand = 0, parser: ctags
Ctags options are following:
groupers: Namespace, Kind
sorters: Line
After ctags parses the file I have 2 groups: variable and function. I collapse variable.
I parse again. Variable expands.
Desired behaviour: do not expand all nodes with auto_expand = 0. Preferrably remember
which nodes were open, but definitely: do not expand when user didn't asked for that.
Submitted | jarekczek - 2011-12-08 10:46:25 | Assigned | daleanson |
---|---|---|---|
Priority | 5 | Labels | |
Status | open | Group | None |
Resolution | None |
2011-12-08 14:27:50 daleanson |
- **assigned_to**: nobody --> daleanson |
---|---|
2011-12-08 14:27:50 daleanson |
This happens with other sidekicks, not just ctagssidekick. |
2012-01-06 11:17:45 jarekczek |
Got it. Will test and commit soon.
|
2012-01-06 11:17:45 jarekczek |
- **assigned_to**: daleanson --> jarekczek |
2012-01-06 14:03:21 jarekczek |
But after fixing a bug I have a problem: if I set autoExpand to 0 it eats all without
possibility to expand. Minimum reasonable value is 1 which shows the filename and
the first row.
|
2012-01-06 15:36:05 jarekczek |
a patch sidekick_expand_1_02.txt (2.2Kio) |
2012-01-06 15:36:40 jarekczek |
- **assigned_to**: jarekczek --> daleanson |
2012-01-06 15:36:40 jarekczek |
I leave it to your choice. Won't commit. Attaching a patch that fixes only one thing: collapsing the whole tree. Please deal with the 0 problem. |